Mirror of
forum.nim-lang.org
index
4135 :: Supress errors
[2018-08-17T05:11:45+02:00]
View Orginal
Serasar
(orginal)
[2018-08-17T05:11:45+02:00]
view original
Hi. Is there a way to suppress dialog boxes when I compile with --app:gui flag? Like this function:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680621(v=vs.85).aspx
Araq
(orginal)
[2018-08-17T10:21:03+02:00]
view original
What dialog boxes? When they popup, you have a bug in your code...
Serasar
(orginal)
[2018-08-17T10:49:00+02:00]
view original
With errors. I want to run my program in the background, and supress occasional errors so they won't bother me
emekoi
(orginal)
[2018-08-18T04:48:01+02:00]
view original
if your errors are from exceptions then just find where your exceptions are being thrown and wrap them in a
try: #[your code here]# except: discard
.