Skip to content

Commit a9621c6

Browse files
author
Rishabh
committed
removes unnecessary debug logging
1 parent 3ffdb7f commit a9621c6

File tree

1 file changed

+0
-9
lines changed
  • src/main/java/io/supertokens/storage/postgresql

1 file changed

+0
-9
lines changed

src/main/java/io/supertokens/storage/postgresql/Start.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,11 @@
4848
import io.supertokens.pluginInterface.sqlStorage.TransactionConnection;
4949
import io.supertokens.pluginInterface.thirdparty.exception.DuplicateThirdPartyUserException;
5050
import io.supertokens.pluginInterface.thirdparty.sqlStorage.ThirdPartySQLStorage;
51-
import io.supertokens.pluginInterface.usermetadata.UserMetadataStorage;
5251
import io.supertokens.pluginInterface.usermetadata.sqlStorage.UserMetadataSQLStorage;
5352
import io.supertokens.storage.postgresql.config.Config;
5453
import io.supertokens.storage.postgresql.config.PostgreSQLConfig;
5554
import io.supertokens.storage.postgresql.output.Logging;
5655
import io.supertokens.storage.postgresql.queries.*;
57-
import netscape.javascript.JSObject;
58-
5956
import org.jetbrains.annotations.NotNull;
6057
import org.jetbrains.annotations.Nullable;
6158
import org.jetbrains.annotations.TestOnly;
@@ -216,12 +213,6 @@ public <T> T startTransaction(TransactionLogic<T> logic, TransactionIsolationLev
216213
if (e instanceof StorageQueryException) {
217214
throw (StorageQueryException) e;
218215
} else if (e instanceof StorageTransactionLogicException) {
219-
Logging.debug(this,
220-
"Number of retries: " + tries + ". Actual exception message: " + actualException);
221-
if (psqlException != null) {
222-
Logging.debug(this,
223-
"PSQL error status code: " + psqlException.getServerErrorMessage().getSQLState());
224-
}
225216
throw (StorageTransactionLogicException) e;
226217
}
227218
throw new StorageQueryException(e);

0 commit comments

Comments
 (0)