diff options
author | Hans Bolinder <[email protected]> | 2017-07-06 12:48:00 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:02:26 +0200 |
commit | 6086776a4b8c953702cac7bcc2763cd1ad259e88 (patch) | |
tree | de2c07ba7a19312d24dfa837fbf44c7b9f7f0257 /lib/stdlib/src/gen_statem.erl | |
parent | d88c1c73f733f57e1a176639186bd5d99d585a12 (diff) | |
download | otp-6086776a4b8c953702cac7bcc2763cd1ad259e88.tar.gz otp-6086776a4b8c953702cac7bcc2763cd1ad259e88.tar.bz2 otp-6086776a4b8c953702cac7bcc2763cd1ad259e88.zip |
stdlib : Improve handling of Unicode
Diffstat (limited to 'lib/stdlib/src/gen_statem.erl')
-rw-r--r-- | lib/stdlib/src/gen_statem.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl index b5e9da1e66..8d5eedb67a 100644 --- a/lib/stdlib/src/gen_statem.erl +++ b/lib/stdlib/src/gen_statem.erl @@ -1732,25 +1732,25 @@ error_info( CallbackMode end, error_logger:format( - "** State machine ~p terminating~n" ++ + "** State machine ~tp terminating~n" ++ case Q of [] -> ""; - _ -> "** Last event = ~p~n" + _ -> "** Last event = ~tp~n" end ++ - "** When server state = ~p~n" ++ - "** Reason for termination = ~w:~p~n" ++ + "** When server state = ~tp~n" ++ + "** Reason for termination = ~w:~tp~n" ++ "** Callback mode = ~p~n" ++ case Q of - [_,_|_] -> "** Queued = ~p~n"; + [_,_|_] -> "** Queued = ~tp~n"; _ -> "" end ++ case P of [] -> ""; - _ -> "** Postponed = ~p~n" + _ -> "** Postponed = ~tp~n" end ++ case FixedStacktrace of [] -> ""; - _ -> "** Stacktrace =~n** ~p~n" + _ -> "** Stacktrace =~n** ~tp~n" end, [Name | case Q of |