Removing brackets from error stack trace.