The present invention is directed to a method for identifying ductal leaks during pancreobiliary surgery in a human patient. The invention comprises the steps of: administering to a human patient undergoing pancreobiliary surgery an effective amount of a pharmaceutical composition comprising secretin and a pharmaceutically acceptable carrier and observing the patient during the surgery for the presence of pancreobiliary ductal leaks.