Skip to content

Commit 8e45867

Browse files
author
Roy Hui
committed
minor fix
1 parent 1c62ae4 commit 8e45867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ module.exports = {
126126

127127
functionLogsShowLogs(logStreamNames) {
128128
if (logStreamNames.length === 0) {
129-
return BbPromise.reject(throw new this.serverless.classes
129+
return BbPromise.reject(new this.serverless.classes
130130
.Error('No existing streams for the latest version of function alias. If you want to view logs of a specific function version, please use --version to specify'));
131131
}
132132
const formatLambdaLogEvent = event => {

0 commit comments

Comments
 (0)