Skip to content

Commit

Permalink
Config: don't assume error has msg field (#571)
Browse files Browse the repository at this point in the history
Fixes #570
Also includes a stacktrace to startup.jl.

Co-authored-by: Sebastian Pfitzner <[email protected]>
  • Loading branch information
timholy and pfitzseb authored Nov 15, 2020
1 parent 023b6c2 commit 5c7a2c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you use different package environments and do not always have Revise availabl
try
using Revise
catch e
@warn(e.msg)
@warn "Error initializing Revise" exception=(e, catch_backtrace())
end
```

Expand All @@ -39,7 +39,7 @@ atreplinit() do repl
@eval using Revise
@async Revise.wait_steal_repl_backend()
catch e
@warn(e.msg)
@warn "Error initializing Revise" exception=(e, catch_backtrace())
end
end
```
Expand All @@ -54,7 +54,7 @@ If you want Revise to launch automatically within IJulia, then you should also c
try
@eval using Revise
catch e
@warn(e.msg)
@warn "Error initializing Revise" exception=(e, catch_backtrace())
end
```

Expand Down

0 comments on commit 5c7a2c6

Please sign in to comment.