Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(solc): empty 'Solc error: ' message #2582

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

DaniPopes
Copy link
Collaborator

Motivation

When the Solc executable fails and the stderr is empty we throw Solc error: which is not very helpful

cc @mattsse

Solution

Make it print Solc exited with {output.status}\n{output.stderr || output.stdout || "<empty output>"}

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DaniPopes DaniPopes merged commit f70c3d9 into gakonst:master Sep 3, 2023
19 checks passed
@DaniPopes DaniPopes deleted the solc-error branch September 3, 2023 19:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants