Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bouraqadi committed Feb 2, 2024
1 parent 2ef5853 commit e89682b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Pharo/PharoJs-Base-App/PjTWebClientApp.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,12 @@ self post: path text: aString then: [ self log: 'Done POST to ', path ]

{ #category : #'http operations' }
PjTWebClientApp >> post: path text: aString then: thenBlock [
self post: path text: aString then: thenBlock catch:

[ :error | self logError: error onGet: path ]
self
post: path
text: aString
then: thenBlock
catch: [ :error | self logError: error onPost: path ]
]

{ #category : #'http operations' }
Expand Down

0 comments on commit e89682b

Please sign in to comment.