Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8991b4628b08
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 24af27d8abdf
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 14, 2015

  1. Don't swallow backtrace when reraising error

    If you specify a message when raising an existing exception, ruby
    does not use the exception's existing backtrace.
    jeremyevans committed May 14, 2015
    Copy the full SHA
    7ef70fc View commit details

Commits on May 15, 2015

  1. Merge pull request #859 from jeremyevans/no_swallow

    Don't swallow backtrace when reraising error
    elia committed May 15, 2015
    Copy the full SHA
    24af27d View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/opal/builder.rb
2 changes: 1 addition & 1 deletion lib/opal/builder.rb
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ def build_str source, filename, options = {}
processed << asset
self
rescue MissingRequire => error
raise error, "A file required by #{filename.inspect} wasn't found.\n#{error.message}"
raise error, "A file required by #{filename.inspect} wasn't found.\n#{error.message}", error.backtrace
end

def build_require(path, options = {})