simple but cool solution for reporting frontend errors.