Changeset 7320610 for protocols


Ignore:
Timestamp:
2015-03-10T07:33:54Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
afbad28
Parents:
8b91a1f
git-author:
dequis <dx@…> (07-03-15 04:10:59)
git-committer:
dequis <dx@…> (10-03-15 07:33:54)
Message:

Various user experience/error reporting improvements

  • Show version as part of the initial message of &bitlbee
  • Use g_strerror() to show actual errors when saving xml configs
  • Only show "The nick is (probably) not registered" for ENOENT, use g_strerror() for the rest of OS errors when loading xml configs
  • Show "Protocol not found: <name>" when find_protocol() returns null, useful when the user uninstalls a plugin accidentally.
  • Suggest the user to check the system clock when getting error 401 from the twitter stream (other REST endpoints show a better error message)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r8b91a1f r7320610  
    862862
    863863                imcb_error(ic, "Stream closed (%s)", req->status_string);
     864                if (req->status_code == 401) {
     865                        imcb_error(ic, "Check your system clock.");
     866                }
    864867                imc_logout(ic, TRUE);
    865868                return;
Note: See TracChangeset for help on using the changeset viewer.