mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: toaster: Improve client side error handling
Make use of the toastermain.settings.DEBUG flag to toggle the client side error logging. Make the error logging consistent by using console.warn/error across the project, this adds traceability to the warnings. Also handles the case where console is not available by stubbing it in libtoaster. (Bitbake rev: c34ebc51a6cbf90c64ef1ac461e475c6341f0f2a) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2e26745a13
commit
ed9fa17467
@@ -21,6 +21,11 @@
|
||||
</script>
|
||||
<script src="{% static 'js/libtoaster.js' %}">
|
||||
</script>
|
||||
{% if DEBUG %}
|
||||
<script>
|
||||
libtoaster.debug = true;
|
||||
</script>
|
||||
{% endif %}
|
||||
<script src="{% static 'js/base.js' %}"></script>
|
||||
{%if MANAGED %}
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user