Merge pull request #1239 from poanetwork/1238

Use reraise and __STACKTRACE__ to reraise safe_insert_all errors
pull/1242/head
Luke Imhoff 6 years ago committed by GitHub
commit 48c2657dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/explorer/lib/explorer/repo.ex

@ -57,7 +57,7 @@ defmodule Explorer.Repo do
Logger.configure(truncate: old_truncate) Logger.configure(truncate: old_truncate)
# reraise to kill caller # reraise to kill caller
raise exception reraise exception, __STACKTRACE__
end end
if returning do if returning do

Loading…
Cancel
Save