title: Write-to-file code doesn't write
body: <p>Well, I am trying to write a line of information to log in a text file (.txt) but this is the part where the code fails to write. Everything else works, except this but doesn't give any errors.</p>
  
  <pre><code>public void writeConfig(File config, Boolean append, String errored){
      try {
          Writer output;
          if (config != null){
              output = new BufferedWriter(new FileWriter(config));
          } else {
              output = new BufferedWriter(new FileWriter(er));
          }
          if (append == true){
              output.append(errored);
          } else {
              output.write(errored);
          }
      } catch (Exception e){
          try {
              loadErrorLog(error, true, "Failed to write to Boom's Log.\n");
          } catch (Exception e1){
              log.info("Major Malfunction #686 : Tell Maker immediatly.");
          }
      }
  }
  </code></pre>