You need to handle errors in UpdateRecord.js.
Which code segment should you add at line UR06?
A. catch(error) { alert(“Caught error: ” + error.message);}
B. Exception exception = Server.GetLastError() ; if(exception != null)}
C. catch(exception e){ console.writeline(e)}
D. function (error){ console.log(error.message)}