Follow the CTags message severity when emitting them through the logging 
handler instead of treating them all as warnings.

Also, properly handle the unlikely PERROR case to also print the triggering 
error for more context, as CTags does.

Following the severity level is useful because upstream CTags might emit NOTICE 
messages under normal circumstances (e.g. null tags in invalid input), and we 
shouldn't worry users by promoting those as warnings.

See also 
https://github.com/universal-ctags/ctags/pull/4372#issuecomment-3765167653
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4501

-- Commit Summary --

  * Adjust logging level of CTags messages

-- File Changes --

    M src/tagmanager/tm_ctags.c (23)

-- Patch Links --

https://github.com/geany/geany/pull/4501.patch
https://github.com/geany/geany/pull/4501.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4501
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to