uncled1023 / Combot

The easy to use and full featured Irc Bot everyone is talking about!
Other
27 stars 13 forks source link

MySql.Data.MySqlClient.MySqlException not being handled. #4

Closed uncled1023 closed 9 years ago

uncled1023 commented 9 years ago

Stack Trace:

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__5(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

This seems to be a randomly occurring issue. Maybe due to too many database actions at any given time?

uncled1023 commented 9 years ago

I have added handling of this in commit https://github.com/uncled1023/Combot/commit/97c4305d783eca2bbb730e3a62505a808862daf1