ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
177 stars 7 forks source link

Handle failure in recompiling gracefully #25

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 6 years ago

If recompiling due enabling/disabling a plugin fails alert the user (with fault code?).

https://github.com/ThomasTJdev/nim_websitecreator/blob/c37a01370aaa80780c3dbe14c1ae323f6f9f2bbf/nimwcpkg/resources/web/routes.nim#L80-L101

https://github.com/ThomasTJdev/nim_websitecreator/blob/master/nimwcpkg/nimwc_main.nim#L331-L334

juancarlospaco commented 6 years ago

This is kinda handled by the Log Viewer, I can easily see the errors on the Logs. Fixed :grey_question: :smile:

ThomasTJdev commented 5 years ago

The log function is perfect