Fix error 500 on report submission due to unexpected stack trace format