Improved error handling for buildlogs pages