67

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

Comments
  • 1
    Which part has error??
  • 8
    @Condor hope not o.O but yeah, might happen... I occasionally forget to update log messages & comments before going live... 😇
  • 6
    @thesagya apparently none, the current run works just fine.. :/ meh..
  • 0
    Maybe filepath did not exist? And by filepath I mean not only this tmp file but also directory that should contain it.
  • 3
    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?
  • 2
    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.
  • 4
    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.
  • 1
    @Condor yeah, my boss doesn't like those... :/ + one customer has source code soo.... O.o
  • 0
    @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..
  • 0
    @lukegv That's just me being pissed off about the empty catch, I didn't left that in the code..
  • 1
    @gitpush It's probably still being used in another thread..would explain a lot + previous similar problems..
Add Comment