Permalink
Browse files

cast the exception to a string

  • Loading branch information...
1 parent 0f1fd39 commit 5c8517e484e91536d2493ecfe944ddc39f6c7f5c @shiftkey shiftkey committed Oct 30, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/cibuild.rb
View
@@ -105,7 +105,7 @@ def verify_file (f)
error = "Unable to parse the contents of file - Line: #{e.line}, Offset: #{e.offset}, Problem: #{e.problem}"
return [f, error]
rescue
- error = "Unknown exception for file: " + $!
+ error = "Unknown exception for file: " + $!.to_s
return [f, error]
end

0 comments on commit 5c8517e

Please sign in to comment.