Skip to content

Commit bb03907

Browse files
committed
Change error message
1 parent 9f510b5 commit bb03907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/js/lib/js/browser.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def require_relative(relative_feature)
1919
code = response.text().await.to_s
2020
eval_code(code, location)
2121
else
22-
raise LoadError.new "cannot load such file -- #{relative_feature}"
22+
raise LoadError.new "cannot load such url -- #{location.url}"
2323
end
2424
end
2525

0 commit comments

Comments
 (0)