Skip to content

Commit 768ee09

Browse files
committed
fix: do not return if opening url failed
1 parent 0474e1f commit 768ee09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/api/auth0/device_code.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func RequestDeviceCode() (string, error) {
7070
fmt.Println(response.VerificationUrlComplete)
7171
err = openUrl(response.VerificationUrlComplete)
7272
if err != nil {
73-
return "", fmt.Errorf("failed to open url in browser: %v", err)
73+
fmt.Println(fmt.Errorf("failed to open url in browser: %v", err))
7474
}
7575

7676
return response.DeviceCode, nil

0 commit comments

Comments
 (0)