Re: Can't start portgresql after F15 -> F16 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2011 11:08 AM, Michael Cronenworth wrote:
> Digimer wrote:
>> >  1. This should have generated a more useful error, like "data is from an
>> >  old version and is not compatible."
> Systemd stdout doesn't handle this and probably never will. Check your
> logs, as with any service issue.
>

I think the point is that the error messages should not only tell you 
that it failed, but something about *why* it failed so that when you 
check the logs you'll have a better chance of knowing what to do.  If 
all the program can do is put a numeric error code in the log, the 
documentation should list the possible error codes with explanations. 
Good programmers don't assume that J. Random User will be a psychic and 
be able to read their fscking minds to find out what an obscure error 
code means, but by that standard, there are very, very few good 
programmers out there.

The late Dan Alderson was a genius, and a fantastic programmer. 
However, one of his favorite error messages was "1 = 2."  He'd use it in 
nested IF statements, where it appeared that all possibilities had been 
covered, to show that something had come up he hadn't anticipated. 
Generally speaking, there'd only be one place in the program where he'd 
need to do this, so if/when it came up, he knew right where to look.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux