Skip to content

Commit 25fcd0b

Browse files
committed
Add deeper stack trace in example app to test source maps
1 parent 98be337 commit 25fcd0b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

example/app/application.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,14 @@
22
require 'foo'
33

44
puts "wow!"
5+
6+
module MyApp
7+
class Application
8+
def initialize
9+
@user = Adam.new
10+
@user.bar
11+
end
12+
end
13+
end
14+
15+
MyApp::Application.new

example/app/foo.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ def bar
33
raise "foo"
44
end
55
end
6-
7-
Adam.new.bar

0 commit comments

Comments
 (0)