catch (Exception e) { var f=new System.IO.StreamWriter("/tmp/wtf"); f.WriteLine(e.ToString()); f.Flush(); }