prevent error log from including app secret
identify platform in error logging