Skip to content

Commit 51176b3

Browse files
committed
Sinatra 4 update: Fix logger call
1 parent 2c6459c commit 51176b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/base/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def inject_dependencies(dependencies={}); end
7676
# @return [Object] Returns an array of [http response code, Header hash,
7777
# body string], or just a body string.
7878
def dispatch(operation, *args)
79-
logger.debug 'cc.dispatch', endpoint: operation, args: args
79+
logger.debug("cc.dispatch endpoint=#{operation} args=#{args.inspect}")
8080
check_authentication(operation)
8181
check_arguments_encoding(args)
8282
send(operation, *args)

0 commit comments

Comments
 (0)