This commit is contained in:
Flummi 2016-09-10 18:44:23 +02:00
parent a23c3a059e
commit 2710189d2e

View File

@ -40,7 +40,7 @@ function Websrv(tbot, tsql, tlib) {
commit = body.commits[body.commits.length-1].message.replace('\n','').trim(); commit = body.commits[body.commits.length-1].message.replace('\n','').trim();
} }
catch(ex) { catch(ex) {
commit body.commits[body.commits.length-2].message.replace('\n','').trim(); commit = body.commits[body.commits.length-2].message.replace('\n','').trim();
} }
lib.log( eventname + ' from ' + autor + ' ('+commit+')' ); lib.log( eventname + ' from ' + autor + ' ('+commit+')' );