From: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> When a command such as srt commit can't find an entry in srt.conf corresponding to the current repo/branch, it errors out with: ERROR:root:Could not retrieve configuration The message makes it sound like it couldn't find the srt.conf file, but in reality that wasn't the problem - it couldn't find a group matching repo/branch. Add that detail to the message as such: ERROR:root:Could not retrieve configuration stable-rt/linux-stable-rt/v3.18-rt-next from srt.conf Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> --- srt_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srt_util.py b/srt_util.py index b572e03..c6099fd 100644 --- a/srt_util.py +++ b/srt_util.py @@ -97,7 +97,7 @@ def get_config(): debug('Using configuration {0}'.format(config_name)) config = read_config()[config_name] except: - error('Could not retrieve configuration') + error('Could not retrieve configuration {0} from srt.conf'.format(config_name)) sys.exit(1) return config -- 2.14.1