Skip to content
Snippets Groups Projects
Commit 3693cef2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Improved exception handling

In case env var PLUMED_STACK_TRACE is defined:
Stack trace is prepended to message string in exceptions,
so as to also appear when exceptions are enabled.

Otherwise:
Stack trace is not prepended.

In addition, stack trace is made available in a method
stack() within Exception.
parent 9ba55157
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment