Skip to content

Commit b279adf

Browse files
committed
fix(functions): stop-billing - Apply freedback from gemini-code-assist #4085 (review)
1 parent e6ab704 commit b279adf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/billing/stop-billing/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ const _isBillingEnabled = async projectName => {
9393

9494
return res.billingEnabled;
9595
} catch (e) {
96-
console.log('Error getting billing info:', e);
97-
console.log(
96+
console.error('Error getting billing info:', e);
97+
console.error(
9898
'Unable to determine if billing is enabled on specified project, ' +
9999
'assuming billing is enabled'
100100
);
@@ -130,7 +130,7 @@ const _disableBillingForProject = async (projectName, simulateDeactivation) => {
130130

131131
console.log(`Billing disabled: ${JSON.stringify(response)}`);
132132
} catch (e) {
133-
console.log('Failed to disable billing, check permissions.', e);
133+
console.error('Failed to disable billing, check permissions.', e);
134134
}
135135
};
136136
// [END functions_billing_stop]

0 commit comments

Comments
 (0)