Skip to content

Commit

Permalink
remove pragma version error
Browse files Browse the repository at this point in the history
converted to an `info()` level statement, to reduce noise in error reports.
  • Loading branch information
OmarTawfik committed Jul 10, 2024
1 parent 476477d commit b36116d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions server/src/parser/slangHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ export function resolveVersion(
} else {
const latest = versions[versions.length - 1];

logger.error(
new Error(
`No Slang-supported version (latest: ${latest}) for Solidity found that satisfies the pragma directives: '${versionPragmas.join(
" "
)}'.`
)
logger.info(
`No Slang-supported version (latest: ${latest}) for Solidity found that satisfies the pragma directives: '${versionPragmas.join(
" "
)}'.`
);

return latest;
Expand Down

0 comments on commit b36116d

Please sign in to comment.