Advertisement
botdotdot

Bad_Code

Aug 22nd, 2011
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.25 KB | None | 0 0
  1.     Private Sub toErrorLog(ByVal contents As String)
  2.         Try
  3.             File.AppendAllText("C:\images\error.txt", contents)
  4.         Catch ex As Exception
  5.             toErrorLog(Now & " could not write to error log.")
  6.         End Try
  7.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement