Ensure operations log errors with stack