Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Condor hope not o.O but yeah, might happen... I occasionally forget to update log messages & comments before going live... 😇
-
Agred20187yMaybe filepath did not exist? And by filepath I mean not only this tmp file but also directory that should contain it.
-
Is there by any chance that file is still used by the same process? I mean your system is using it and File.Delete failed to access.
Any non closed file stream? -
I had a similar issue before and it was based on threaded code issues. Adding the error message gave just enough time for another thread to finish.
-
This is a typical case of heisenbug. Has happened to me so many times that I have given up on it and accepted that is really is a thing.
-
@Condor yeah, my boss doesn't like those... :/ + one customer has source code soo.... O.o
-
@juneeighteen might be the case, I didn't have time to dig in the issue but on another occasion I found similar crazynes when there was no error when in debugger..
-
@lukegv That's just me being pissed off about the empty catch, I didn't left that in the code..
-
@gitpush It's probably still being used in another thread..would explain a lot + previous similar problems..
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
Fuckin hell!!
Code works everywhere except at one client. Ok, I check logs & see something missing.. I go check the code that handles excel files.. try catch and do nothing.. great.. :/ ok let's log this shit to see what is not ok...
Insert logs, build, update, run.. now it freakin works o.O
rant
empty try catch
logs
fml
excel