diff options
author | Siri Hansen <[email protected]> | 2013-04-18 10:50:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-04-18 10:50:55 +0200 |
commit | 3048124f81e74f9729f0c3e045ca8dd6cc86f3ab (patch) | |
tree | 471e7757c1d7c655700fa7eb34735b6e5f24332f /lib/common_test/src/ct_framework.erl | |
parent | 70c15bf9483944f3eedea0ad1156a6117421cd19 (diff) | |
parent | 96ecf847dbbf279f1005c98d513eae489ffac242 (diff) | |
download | otp-3048124f81e74f9729f0c3e045ca8dd6cc86f3ab.tar.gz otp-3048124f81e74f9729f0c3e045ca8dd6cc86f3ab.tar.bz2 otp-3048124f81e74f9729f0c3e045ca8dd6cc86f3ab.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/src/ct_framework.erl')
-rw-r--r-- | lib/common_test/src/ct_framework.erl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index b92fe1555f..276f902b05 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -32,6 +32,7 @@ -export([error_in_suite/1, init_per_suite/1, end_per_suite/1, init_per_group/2, end_per_group/2]). +-include("ct.hrl"). -include("ct_event.hrl"). -include("ct_util.hrl"). @@ -806,8 +807,14 @@ error_notification(Mod,Func,_Args,{Error,Loc}) -> "- - - - - - - - - -~n", io:format(user, lists:concat([Div,ErrFormat,Div,"~n"]), ErrArgs), - ct_logs:tc_log(ct_error_notify, "CT Error Notification", - ErrFormat, ErrArgs) + Link = + "\n\n<a href=\"#end\">" + "Full error description and stacktrace" + "</a>", + ct_logs:tc_log(ct_error_notify, + ?MAX_IMPORTANCE, + "CT Error Notification", + ErrFormat++Link, ErrArgs) end, case Loc of [{?MODULE,error_in_suite}] -> |