Skip to content

Commit 6b9d6c8

Browse files
authored
fixed file upload error message
1 parent e8d88b0 commit 6b9d6c8

File tree

1 file changed

+2
-2
lines changed
  • experimental/aws-lambda-java-profiler/extension/src/main/java/com/amazonaws/services/lambda/extension

1 file changed

+2
-2
lines changed

experimental/aws-lambda-java-profiler/extension/src/main/java/com/amazonaws/services/lambda/extension/ExtensionMain.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private static void handleShutDown() {
5656
// no need to stop the profiler as it has been stopped by the shutdown hook
5757
s3Manager.upload(previousFileSuffix, true);
5858
} catch (Exception e) {
59-
Logger.error("could not start the profiler");
59+
Logger.error("could not upload the file");
6060
throw e;
6161
}
6262
System.exit(0);
@@ -133,4 +133,4 @@ private static void stopProfiler(String fileNameSuffix) {
133133
e.printStackTrace();
134134
}
135135
}
136-
}
136+
}

0 commit comments

Comments
 (0)