[enhancement] added fail-safe config to print full stack trace