diff --git a/lambdas/backend/catalog/index.js b/lambdas/backend/catalog/index.js index d421cdcb9..b85364e43 100644 --- a/lambdas/backend/catalog/index.js +++ b/lambdas/backend/catalog/index.js @@ -24,12 +24,12 @@ const usagePlans = function() { .catch((error) => { // don't break if there's no catalog file if (error.code === "NoSuchKey") { - console.log('error: No catalog.json file found. Please upload an api definition to `catalog/`.') + console.error('error: No catalog.json file found. Please upload an api definition to `catalog/`.') return [] } - console.log(`error: ${error}`) + console.error(`error: ${error}`) throw error })