# Hide Python messages

**URL:** <https://discuss.tryton.org/t/hide-python-messages/2170>\
**Category:** Ideas\
**Created:** [January 11, 2020, 10:21am UTC](https://discuss.tryton.org/t/hide-python-messages/2170 "2020-01-11T10:21:00Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)\
**Post date:** [January 13, 2020, 1:10pm UTC](https://discuss.tryton.org/t/hide-python-messages/2170/21 "2020-01-13T13:10:15Z")

</div>

> [@ced](#):
>
> But hiding problem will not solve them. It is better to have a bad time once but being able to fix the issue, then having silent errors that are never fixed because it is missing information.
> 
> For me, the request is similar to requesting silent failure. This is the worst thing to do for stability and robustness.

I love it.

If we’re able to explain that to the customer in those terms I think our “weakness” turns out strength to reach the goal of gain another friend (customer) for Tryton.

---

<div class="post-metadata">

**Author:** ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)\
**Post date:** [January 13, 2020, 1:20pm UTC](https://discuss.tryton.org/t/hide-python-messages/2170/22 "2020-01-13T13:20:53Z")

</div>

> [@prak](#):
>
> But the non-technical users sees this screen as if something horrible has happened. And they start complaining left and right. It has happened with me that in some demos, an unseen scenario pops up the traceback and the entire reputation is ruined.

I deliberately created an bug and looked a bit at the dialog. I think making a small change is a good compromise.

1. Make the traceback default collapsed
2. Change the `report bug` link to a button and put it near the `close` button
3. Eventually add the word ‘BUG’ somewhere in the popup, so the user know that trying again don’t make any difference.

 ![little_change_bug_dialog](https://discuss-cdn.tryton.org/uploads/default/original/1X/7f25218e310f0bf9b05a3b1126cd5770ca3eda79.png)  
I don’t think adding error codes makes any sense. Also the `Fault` message is self-explanatory. And when such message pops up at a demo, as the demonstrator you directly blame the developers that they messed things up and you can’t show the situation now.

---

<div class="post-metadata">

**Author:** ![prak](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/prak/32/321_2.png) [@prak](https://discuss.tryton.org/u/prak)\
**Post date:** [January 14, 2020, 7:06am UTC](https://discuss.tryton.org/t/hide-python-messages/2170/23 "2020-01-14T07:06:53Z")

</div>

One thing that I like about Tryton (and I boast it in front of my users and clients) is the highly level of quality that is maintained by the Tryton team. So when @ced points out the importance of testing and maintaining the same high levels of quality, I share the enthusiasm.

On the other hand, it sometimes becomes tough to handle the situation when a client is trying to evaluate and decide that why should he hire the team and use Tryton over other systems when an error message with Traceback appears.

The solution given by @edbo ([Hide Python messages - #22 by edbo](https://discuss.tryton.org/t/hide-python-messages/2170/22)) looks good to me and explains the actual need that is required with respect to this topic, in a more diagrammatic way.

---

<div class="post-metadata">

**Author:** ![Dan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@Dan](https://discuss.tryton.org/u/Dan)\
**Post date:** [January 17, 2020, 8:43am UTC](https://discuss.tryton.org/t/hide-python-messages/2170/24 "2020-01-17T08:43:58Z")

</div>

I can only agree with @pokoli : use Sentry.

There is available the python module he pointed and also very recently this integration [https://discuss.tryton.org/t/sentry-sdk-integration](https://discuss.tryton.org/t/sentry-sdk-integration) has made its way to the master sentry\_sdk branch and has been released to PyPI.

Sadly, neither capture client exceptions, only server’s.

If you don’t like this particular ticketing system, you can develop handlers for any other one in a similar fashion.

[Previous page](https://discuss.tryton.org/t/hide-python-messages/2170.md?page=1)
