Skip to content

Commit 302ff6c

Browse files
RX14asterite
authored andcommittedJan 24, 2018
Correctly stub out Exception#backtrace?
1 parent b05ad8d commit 302ff6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/exception.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Exception
3333
# “0xAddress: Function at File Line Column”.
3434
def backtrace?
3535
{% if flag?(:win32) %}
36-
nil
36+
Array(String).new
3737
{% else %}
3838
@callstack.try &.printable_backtrace
3939
{% end %}

0 commit comments

Comments
 (0)
Please sign in to comment.