aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-11-29 08:34:09 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-02 09:37:25 +0200
commitf2bd0672d1af5616cfc0d0ac006a69fca6c99bb4 (patch)
treeb1a403f71202cfaa96c5b9a9986ab56ac0015e18 /mod/mod-ci-github.hxx
parent7f06026024bd0c81f16f2cbff85712750c41549e (diff)
Review exceptions thrown by github-ci API functions
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index b88d5e4..c38462a 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -107,7 +107,9 @@ namespace brep
optional<string>
generate_jwt (const basic_mark& trace, const basic_mark& error) const;
- // Authenticate to GitHub as an app installation.
+ // Authenticate to GitHub as an app installation. Return the installation
+ // access token (IAT). Issue diagnostics and return nullopt if something
+ // goes wrong.
//
optional<gh_installation_access_token>
obtain_installation_access_token (uint64_t install_id,