53,851 questions
0
votes
1
answer
34
views
Laravel customize all exceptions thrown
Im trying to make a little change in exception log and render in laravel 11.
I want to add an uuid to the errors.500 blade and log it right before the log, but i really dont know how to, laravel docs ...
0
votes
1
answer
28
views
How to catch one of many exceptions in the code and keep the original message?
I have an azure function that is currently listening to a topic in event hub.
We receive several json as events, and we need to implement a decorator to wrapp all the possible exceptions that can ...
0
votes
0
answers
26
views
Rate limitations and slash commands with Discord API (discord.py)
I've been encountering an issue recently- specifically with slash commands. Both with syncing them and actually using them.
So, as I understand it, whenever you make requests to the Discord API, you ...
1
vote
0
answers
13
views
How to disable default ValidationException handler? [duplicate]
I have a store method in DocumentController. This method use custom laravel FormRequest to validate request data. A try catch block in this store method should handle the ValidationException by ...
-1
votes
0
answers
39
views
try catch block does not catch the exception [closed]
I have a simple try-catch block and cannot find, why the result remains an 'uncaught' exception / My exception-handling does not work/grip.
when connecting to me database I use:
<pre>
try {
$...
-1
votes
0
answers
57
views
C++ error handling in assembly level, why it can know jumping to the correct line of asm code? [duplicate]
In this sample:
https://godbolt.org/z/bx8oeWrxd
square(int):
push rbp
mov rbp, rsp
sub rsp, 16
mov DWORD PTR [rbp-4], edi
mov edi, 8
...
0
votes
0
answers
28
views
Exception "System.IO.IOException" in Npgsql.dll
My project uses .NET Framework 4.0.
During the execution of a program for a certain operation, a message appears in the debugging console: An exception was raised: "System.IO.IOException" in ...
1
vote
1
answer
33
views
CASWriteUnknownException in Cassandra 4.1.7 After Changing Replication Factor to 3
We are encountering the following error in our Cassandra 4.1.7 cluster after updating the replication factor from 1 to 3 in a 5-node cluster:
below is the error:
com.datastax.oss.driver.api.core....
0
votes
0
answers
10
views
configuring karrigell logging to write uncaught exceptions
I am managing a third-part app made with python's framework Karrigell.
I have added a new logger, my_logger, which is declared and instantiated in a file called my_logging.py
I see that the logger can ...
0
votes
1
answer
41
views
Do custom C++ exceptions from a module work in GCC (14.2.0)?
Are C++ modules implemented in GCC such that I can create a custom exception in a module for use in another file? I get the following error with GCC 14.2.0 via MinGW/MSYS:
x86_64-w64-mingw32-gcc -std=...
0
votes
1
answer
24
views
NotImplementedError when using threading with a keyboard and mouse listener with pynput
Here is the keyboard and mouse listener part of my code:
python
def mouse_listener(scroller):
"""Listens for mouse scroll events to scroll clipboard history."""
...
0
votes
1
answer
34
views
Flutter firebase exception not being caught by try-catch block
I am trying to implement simple login using flutter and firebase(just started learning). The user-not-found error is not being caught by the try-catch block in the code.
Code in Question
TextButton(
...
0
votes
0
answers
30
views
this.focusInsets = null [duplicate]
I made a class in which I adjust the UI for all JSliders to my liking, but when running my program, I intermittently receive the following error:
Exception in thread "AWT-EventQueue-0" java....
0
votes
0
answers
24
views
Postgresql: How to catch broken SQL in function [closed]
I am trying to make a simple plpgsql function to catch sql error.
FIXED MY own script.
(notable. Do not use replace function. It will not error correctly if fed broken code to replace non broken ...
-1
votes
0
answers
22
views
ElementNotInteractableException: element not interactable In selenium - Java
I have a translation modal page, where i am trying to translate a particular text, The english translation of the text is displayed in the first row, and the pointer events are not allowed (ie pointer-...