Skip to content

Commit

Permalink
Update makefile, Add app:// to stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Feb 23, 2017
1 parent d44edb5 commit 893a533
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
build-carthage:
@echo "--> Creating Sentry framework package with carthage"
carthage build --no-skip-current
carthage archive Sentry
carthage archive Sentry KSCrash --output Sentry.framework.zip

release: bump-version lint test pod-example-projects pod-lint build-carthage git-commit-add pod-push

Expand Down
6 changes: 5 additions & 1 deletion Sources/Stacktrace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ extension Stacktrace {
if let methodName = frame["methodName"] as? String,
let lineNumber = frame["lineNumber"] as? Int,
let column = frame["column"] as? Int {
let frame = Frame(fileName: "/\(simpleFilename)", function: methodName, module: nil, line: lineNumber, column: column)
let frame = Frame(fileName: "app:///\(simpleFilename)",
function: methodName,
module: nil,
line: lineNumber,
column: column)
frame.platform = "javascript"
frames.append(frame)
}
Expand Down

0 comments on commit 893a533

Please sign in to comment.