Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:45:02 EST maiyannah maiyannah
    Remote profile options...
    So what I've done for now wrt !postActiv exception handling improvement, is just put everything together, in a central file for server exception, /classes/ServerException.php This file includes the descendant classes for exceptions that fall under that type. I have also assigned what I believe to be the sanest HTTP status code as error codes for each, but they may …
    Wednesday, 16-Nov-2016 19:45:02 EST from community.highlandarrow.com permalink

    Attachments

    1. maiyannah-20161117-ostatus-csr6.html
    • maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:45:42 EST maiyannah maiyannah
      Remote profile options...
      This will be posted to both Nightly and Master soon since it's working in a production environment just fine.
      Wednesday, 16-Nov-2016 19:45:42 EST permalink
    • maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:47:01 EST maiyannah maiyannah
      Remote profile options...
      Next thing to do is I'll probably make them dump into LOG_ERR verbosely, they are exceptions after all.
      Wednesday, 16-Nov-2016 19:47:01 EST permalink
    • maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:50:05 EST maiyannah maiyannah
      Remote profile options...
      Should be pushed to both now - let me know if you have issues with either wrt this latest change.
      Wednesday, 16-Nov-2016 19:50:05 EST permalink
    • maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:54:47 EST maiyannah maiyannah
      Remote profile options...
      One simple common_log line in the ServerException class later, and all exceptions should now be logged at the LOG_ERR severity in syslog, or to the separate postActiv log file if you have one specified.
      Wednesday, 16-Nov-2016 19:54:47 EST permalink
    • maiyannah (maiyannah)'s status on Wednesday, 16-Nov-2016 19:55:57 EST maiyannah maiyannah
      Remote profile options...
      Once everything was pulled together, this was exceeedingly easy to get in there.

      Of course, the next step past that will be making sure everything has descriptive error messages, but one thing at a time.

      There's still the NoResult exception and Client exceptions to unify.
      Wednesday, 16-Nov-2016 19:55:57 EST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.