Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 65f66b1

Browse files
committed
catch all launchy error
1 parent 0bc23da commit 65f66b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cipherstash/client/auth0_device_code_credentials.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def prompt_user(polling_info)
150150

151151
begin
152152
Launchy.open polling_info[:verification_uri_complete]
153-
rescue Launchy::CommandNotFoundError
153+
rescue Launchy::Error
154154
# We could be running in a headless environment, in which case, the user should just open the url in a browser on a separate machine
155155
@logger.debug("Auth0DeviceCodeCredentials#prompt_user") { "Unable to launch url in browser" }
156156
end

0 commit comments

Comments
 (0)