Skip to content

Commit

Permalink
show the BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bararchy committed Dec 26, 2023
1 parent 05b0338 commit f56aa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sec_tester/scan.cr
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ module SecTester

response = send_with_retry(method: "GET", url: check_user_url)
if response.status.unauthorized?
raise SecTester::Error.new("API token is invalid, please generate a new one response: #{response.try &.body.to_s}")
raise SecTester::Error.new("API token is invalid for #{BASE_URL}, please generate a new one!. response: #{response.try &.body.to_s}")
end
end

Expand Down

0 comments on commit f56aa8b

Please sign in to comment.