Fix error by getting source link in console with exceptions