mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-3483 return original error text if authentication failed (#1688)
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ public class WebSessionAuthProcessor {
|
||||
case SUCCESS:
|
||||
return finishWebSessionAuthorization(smAuthInfo);
|
||||
case ERROR:
|
||||
throw new DBException("Authentication failed: " + smAuthInfo.getError());
|
||||
throw new DBException(smAuthInfo.getError());
|
||||
case IN_PROGRESS:
|
||||
throw new DBException("Authorization didn't complete");
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user