rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
128 stars 26 forks source link

Show more specific error messages #73

Closed Xieyt closed 5 months ago

Xieyt commented 10 months ago

Description

Show more specific error messages when fm fails.

Use Case

When the user sees the error, they will have more info about why the error occurred.

Expected Behavior

In the case when docker pull fails while creating a site there should be a message such as "Check logs at ~/frappe/logs/fm.log for more info" or show the error message from the docker log to stdout/stderr.

Current Behavior (if applicable)

image

Possible Solution

Add specific error message which helps user debug case themselves.

Related Issues/Pull Requests

72 by @NagariaHussain

Xieyt commented 5 months ago

This has been implemented, basic status/error msg are shown as CLI output. Trackback and more specifics are logged in the log file ~/frappe/logs/fm.log.