diff --git a/src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java b/src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java index 543e8a7f5..d6c06b910 100644 --- a/src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java +++ b/src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java @@ -2088,7 +2088,7 @@ public static void uploadWithoutConnection(SnowflakeFileTransferConfig config) t break; } } catch (Exception ex) { - logger.error("Exception encountered during file upload: ", ex.getMessage()); + logger.error("Exception encountered during file upload in uploadWithoutConnection", ex); throw ex; } finally { if (fileBackedOutputStream != null) {