Skip to content

Commit

Permalink
add logging (#12449)
Browse files Browse the repository at this point in the history
* add logging

* fix

---------

Co-authored-by: Andrew Herzberg <andrew.herzberg@adhocteam.us>
  • Loading branch information
jperk51 and aherzberg authored Apr 19, 2023
1 parent 95ba197 commit 4b68508
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def create

message_params[:id] = message_params.delete(:draft_id) if message_params[:draft_id].present?
create_message_params = { message: message_params.to_h }.merge(upload_params)
Rails.logger.info('Mobile SM Category Tracking', category: create_message_params.dig(:message, :category))

client_response = if message.uploads.present?
client.post_create_message_with_attachment(create_message_params)
Expand Down

0 comments on commit 4b68508

Please sign in to comment.