scala print stack trace without exception