Fixes #153 Disable error trace when it's from the main script