Skip to content

Commit

Permalink
Merge pull request #1847 from SUI-Components/remove-decorator-log
Browse files Browse the repository at this point in the history
feat(packages/sui-decorators): remove console.log
  • Loading branch information
carlosvillu authored Oct 16, 2024
2 parents cbe1b95 + 206dd74 commit 8966eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sui-decorators/src/decorators/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const _runner = ({instance, original} = {}) => {
try {
const returns = original.apply(instance.__STREAMIFY__ ? this : instance, args)
if (isPromise(returns)) {
console.warn('You should use the @AsyncInlineError() decorator in async functions.')
// console.warn('You should use the @AsyncInlineError() decorator in async functions.')
return returns
.then(r => {
response[0] = null
Expand Down

0 comments on commit 8966eab

Please sign in to comment.