Skip to content

Commit 8966eab

Browse files
authored
Merge pull request #1847 from SUI-Components/remove-decorator-log
feat(packages/sui-decorators): remove console.log
2 parents cbe1b95 + 206dd74 commit 8966eab

File tree

1 file changed

+1
-1
lines changed
  • packages/sui-decorators/src/decorators

1 file changed

+1
-1
lines changed

packages/sui-decorators/src/decorators/error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const _runner = ({instance, original} = {}) => {
1111
try {
1212
const returns = original.apply(instance.__STREAMIFY__ ? this : instance, args)
1313
if (isPromise(returns)) {
14-
console.warn('You should use the @AsyncInlineError() decorator in async functions.')
14+
// console.warn('You should use the @AsyncInlineError() decorator in async functions.')
1515
return returns
1616
.then(r => {
1717
response[0] = null

0 commit comments

Comments
 (0)