Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jscad-web: show error name #63

Merged
merged 2 commits into from
Sep 20, 2023
Merged

jscad-web: show error name #63

merged 2 commits into from
Sep 20, 2023

Conversation

platypii
Copy link
Collaborator

This PR updates some of the error handling to give nicer error messages in the error bar. It shows the error name in bold up front, and preserves stacktraces a little better.

Before:
error-pre

After:
error-post

I also fixed a bug where generating a bunch of designs in a row (such as by changing parameters), the progress spinner would disappear after the first job even though jobs are still pending. I changed this to track the number of pending jobs and only hide the spinner when there are no pending jobs.

I also fixed some code style issues from prettier, mostly single quote strings.

@platypii platypii requested a review from hrgdavor September 20, 2023 20:35
Copy link
Owner

@hrgdavor hrgdavor left a comment

Choose a reason for hiding this comment

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

looks good, my projects work fine.

@hrgdavor hrgdavor merged commit 1c5b160 into main Sep 20, 2023
1 check passed
@platypii platypii deleted the error-name branch September 20, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants