Skip to content

Commit

Permalink
Fix error handling and improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ksclarke committed Jan 21, 2025
1 parent 0a2e8f0 commit 2e6b8c3
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 100 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## webrepl

A quick and dirty REPL for JPv3's IIIF Cookbook recipes.
A quick and dirty, single-threaded REPL for JPv3's IIIF Cookbook recipes.

### How to Build

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void accept(final Diag aDiagnostic) {
}

// Add line numbers to what's returned
code = StringUtils.addLineNumbers(myBuffer.toString());
code = StringUtils.addLineNumbers(myBuffer.toString().trim());

// Zero out the output buffer
myBuffer.setLength(0);
Expand Down
Loading

0 comments on commit 2e6b8c3

Please sign in to comment.