Wrap events and upload in same try/catch block