Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
Improve error logging
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
@dscho
dscho committed Sep 1, 2025
commit ccd00258185d058b87612b84d026ff6e7f57fbc0
4 changes: 2 additions & 2 deletions GitGitGadget/index.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -131,10 +131,10 @@ module.exports = async (context, req) =>{
};
}
} catch (e){
context.log('Caught exception ' + e);
context.log('Caught exception ', e);
context.res ={
status: 500,
body: 'Caught an error: ' + e,
body: `Caught an error: ${e.message || JSON.stringify(e, null, 2)}`,
};
}

Expand Down