Log: Remove unnecessary try-catch blocks

The enclosed functions don't throw.