Write to ActivityLog to improve error reporting.